//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2012 EMC Corp.
//
//	@filename:
//		CParseHandlerUtils.h
//
//	@doc:
//		Class providing helper methods for parse handler
//---------------------------------------------------------------------------

#ifndef GPDXL_CParseHandlerUtils_H
#define GPDXL_CParseHandlerUtils_H

#include "gpos/base.h"
#include "naucrates/dxl/parser/CParseHandlerProperties.h"
#include "naucrates/dxl/operators/CDXLOperator.h"

namespace gpdxl
{
	using namespace gpos;

	XERCES_CPP_NAMESPACE_USE

	//---------------------------------------------------------------------------
	//	@class:
	//		CParseHandlerUtils
	//
	//	@doc:
	//		Class providing helper methods for parse handler
	//
	//---------------------------------------------------------------------------
	class CParseHandlerUtils
	{
		public:

			// parse and the set operator's costing and statistical properties
			static
			void SetProperties(CDXLNode *dxlnode, CParseHandlerProperties *prop_parse_handler);
	};
}

#endif // !GPDXL_CParseHandlerUtils_H

// EOF
